package com.jz.cash.client.service;

import com.jz.cash.client.entity.User;
import com.jz.cash.client.vo.MerchantVo;
import com.stip.mybatis.generator.plugin.BaseExample;
import com.stip.mybatis.generator.plugin.IService;

import java.util.Set;

/**
 * Extensible custom interface
 **/
public interface UserService extends IService<User, BaseExample, Long> {
  com.jz.cash.client.model.User findUserByName(String username);

     void addUser(String uname, String hashPassword);

     MerchantVo getMerchantByUserId(Long id);

    Set<String> getAllFuncsByUserId(Long id);
 }